package ewms.bo;

import ewms.domain.EwmsTransferWarehouseDetail;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import java.util.Date;
import javax.validation.constraints.*;

import java.util.List;

/**
 * 危废转库编辑对象 ewms_transfer_warehouse
 *
 * @author zhaoxiaochun
 * @date 2022-02-15
 */
@Data
@ApiModel("危废转库编辑对象")
public class EwmsTransferWarehouseEditBo {


    /** 转库ID */
    @ApiModelProperty("转库ID")
    private Long transferWarehouseId;

    /** 转至仓库id */
    @ApiModelProperty("转至仓库id")
    @NotNull(message = "转至仓库id不能为空")
    private Long toWarehouseId;

    /** 转库时间 */
    @ApiModelProperty("转库时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @NotNull(message = "转库时间不能为空")
    private Date transferDate;

    /** 更新者 */
    @ApiModelProperty("更新者")
    private String updateBy;

    /** 更新时间 */
    @ApiModelProperty("更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

    /** 危废转库明细信息 */
    @ApiModelProperty("危废转库明细")
    private List<EwmsTransferWarehouseDetail> ewmsTransferWarehouseDetailList;
}
